package com.hivekion.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnComment;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnType;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.hivekion.common.entity.BaseEntity;
import lombok.Data;

/**
 * 字典分类表 sys_dict_type
 *
 * @author sutao
 */
@Data
@TableName("sys_dict_type")
public class SysDictType extends BaseEntity {
      @TableField
      @ColumnComment("字典分类名称")
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
      private String dictName;

      @TableField
      @ColumnComment("字典分类编号")
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
      private String dictCode;

      @TableField
      @ColumnComment("字典类型")
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
      private String dictType;

      @TableField
      @ColumnComment("状态:0=正常,1=停用")
      @ColumnType(value = MySqlTypeConstant.INT, length = 4)
      private Integer status;

      @TableField
      @ColumnComment("排序码")
      @ColumnType(value = MySqlTypeConstant.INT, length = 4)
      private Integer sortCode;

      @TableField
      @ColumnComment("删除标识")
      @ColumnType(value = MySqlTypeConstant.INT, length = 4)
      private Integer deleteMark;
}
